package com.xin.springcloudconsumer.form;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 用户1与用户2加为朋友，那么就只会出现一条记录
 */
@Data
public class MyfriendForm {

    private String id;

    private String uid;
    @NotNull(message = "朋友ID不能为空!")
    private String fid;

}
